package cn.stylefeng.guns.modular.ums.model.params;

import lombok.Data;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import lombok.experimental.Accessors;

import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 会员账户流水表
 * </p>
 *
 * @author yzb
 * @since 2022-05-07
 */
@Data
@Accessors(chain = true)
public class MemberAccountRecordsParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;
    private String keyword;
    private String startDate;
    private String endDate;
    private String searchTime;

    /**
     * 账户id
     */
    private Integer id;

    /**
     * 会员id
     */
    private Integer memberId;

    /**
     * 交易类型：1-分享收入，2-提现支出
     */
    private Integer type;

    /**
     * 正负号：1-正，0-负
     */
    private Integer sign;

    /**
     * 金额
     */
    private BigDecimal money;

    /**
     * 说明信息
     */
    private String content;

    /**
     * 关联数据，如关联提现记录等
     */
    private Long dataId;

    /**
     * 天加时间
     */
    private Date createTime;


    @Override
    public String checkParam() {
        return null;
    }

}
